package com.zbest.zpay.acctrans.dal.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zbest.zpay.acctrans.dal.model.AccountDetail;

/**
 * Created by wenfeihu on 16/5/20.
 */
public interface AccountDetailMapper {

    public int insert(AccountDetail accountDetail);

    public int qryDetailsCntPage(@Param("usrId") String usrId,
                                 @Param("startDat") String startDat,
                                 @Param("endDat") String endDat);

    public List<AccountDetail> qryDetailsPage(@Param("usrId") String usrId,
                                              @Param("startDat") String startDat,
                                              @Param("endDat") String endDat,
                                              @Param("start") Integer start,
                                              @Param("pageSize") Integer pageSize);
}
